package com.lby.bill.mapper;

import com.lby.bill.entities.Provider;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
//@Mapper 或 @MapperScan("com.lby.bill.mapper")
public interface ProviderMapper {

    List<Provider> getProviders(Provider provider);

    Provider getProviderByPid(Integer pid);

    int addProvider(Provider provider);

    int deleteProviderByPid(Integer pid);

    int updateProvider(Provider provider);

}
